package com.investment.advisor.dto;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TagDTO {
    private Long id;
    private String name;
    private String category;
    private String description;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 默认构造函数
    public TagDTO() {
    }
    
    // 添加String参数的构造函数，用于JSON反序列化
    public TagDTO(String name) {
        this.name = name;
    }
} 